<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge">
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim">
<link rel="match" href="text-box-trim-block-in-inline-start-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.spacer {
  background: lightgray;
  block-size: 50px;
}
.target {
  font-family: Ahem;
  font-size: 50px;
  line-height: 2;
  text-box-trim: start;
  text-box-edge: text;
}
</style>
<div class="spacer"></div>
<div class="target">
  <span>
    <div>
      A
    </div>
  </span>
  <span>
    <div>
      A
    </div>
  </span>
  A
</div>
<div class="spacer"></div>
